<div class="waiversReleases index">
    <h2><?php echo __('Waivers Releases'); ?></h2>
    <table cellpadding="0" cellspacing="0">
        <tr>
            <th><?php echo $this->Paginator->sort('id'); ?></th>
            <th><?php echo $this->Paginator->sort('user_id'); ?></th>
            <th><?php echo $this->Paginator->sort('code_of_conduct'); ?></th>
            <th><?php echo $this->Paginator->sort('photo_releases'); ?></th>
            <th><?php echo $this->Paginator->sort('video_releases'); ?></th>
            <th><?php echo $this->Paginator->sort('first_name'); ?></th>
            <th><?php echo $this->Paginator->sort('last_name'); ?></th>
            <th><?php echo $this->Paginator->sort('phone'); ?></th>
            <th><?php echo $this->Paginator->sort('address'); ?></th>
            <th><?php echo $this->Paginator->sort('apt_no'); ?></th>
            <th><?php echo $this->Paginator->sort('city'); ?></th>
            <th><?php echo $this->Paginator->sort('state_id'); ?></th>
            <th><?php echo $this->Paginator->sort('zip'); ?></th>
            <th><?php echo $this->Paginator->sort('relationship_to_participant'); ?></th>
            <th><?php echo $this->Paginator->sort('name_of_insurance'); ?></th>
            <th><?php echo $this->Paginator->sort('medical_insurance_no'); ?></th>
            <th><?php echo $this->Paginator->sort('disabilities'); ?></th>
            <th><?php echo $this->Paginator->sort('disability_explanation'); ?></th>
            <th><?php echo $this->Paginator->sort('allergy'); ?></th>
            <th><?php echo $this->Paginator->sort('allergy_explaination'); ?></th>
            <th><?php echo $this->Paginator->sort('taking_medication'); ?></th>
            <th><?php echo $this->Paginator->sort('medication_explaination'); ?></th>
            <th><?php echo $this->Paginator->sort('digital_signature'); ?></th>
            <th><?php echo $this->Paginator->sort('digital_date_stamp'); ?></th>
            <th class="actions"><?php echo __('Actions'); ?></th>
        </tr>
        <?php foreach ($waiversReleases as $waiversRelease): ?>
            <tr>
                <td><?php echo h($waiversRelease['WaiversRelease']['id']); ?>&nbsp;</td>
                <td>
                    <?php echo $this->Html->link($waiversRelease['User']['username'], array('controller' => 'users', 'action' => 'view', $waiversRelease['User']['id'])); ?>
                </td>
                <td><?php echo h($waiversRelease['WaiversRelease']['code_of_conduct']); ?>&nbsp;</td>
                <td><?php echo h($waiversRelease['WaiversRelease']['photo_releases']); ?>&nbsp;</td>
                <td><?php echo h($waiversRelease['WaiversRelease']['video_releases']); ?>&nbsp;</td>
                <td><?php echo h($waiversRelease['WaiversRelease']['first_name']); ?>&nbsp;</td>
                <td><?php echo h($waiversRelease['WaiversRelease']['last_name']); ?>&nbsp;</td>
                <td><?php echo h($waiversRelease['WaiversRelease']['phone']); ?>&nbsp;</td>
                <td><?php echo h($waiversRelease['WaiversRelease']['address']); ?>&nbsp;</td>
                <td><?php echo h($waiversRelease['WaiversRelease']['apt_no']); ?>&nbsp;</td>
                <td><?php echo h($waiversRelease['WaiversRelease']['city']); ?>&nbsp;</td>
                <td>
                    <?php echo $this->Html->link($waiversRelease['State']['title'], array('controller' => 'states', 'action' => 'view', $waiversRelease['State']['id'])); ?>
                </td>
                <td><?php echo h($waiversRelease['WaiversRelease']['zip']); ?>&nbsp;</td>
                <td><?php echo h($waiversRelease['WaiversRelease']['relationship_to_participant']); ?>&nbsp;</td>
                <td><?php echo h($waiversRelease['WaiversRelease']['name_of_insurance']); ?>&nbsp;</td>
                <td><?php echo h($waiversRelease['WaiversRelease']['medical_insurance_no']); ?>&nbsp;</td>
                <td><?php echo h($waiversRelease['WaiversRelease']['disabilities']); ?>&nbsp;</td>
                <td><?php echo h($waiversRelease['WaiversRelease']['disability_explanation']); ?>&nbsp;</td>
                <td><?php echo h($waiversRelease['WaiversRelease']['allergy']); ?>&nbsp;</td>
                <td><?php echo h($waiversRelease['WaiversRelease']['allergy_explaination']); ?>&nbsp;</td>
                <td><?php echo h($waiversRelease['WaiversRelease']['taking_medication']); ?>&nbsp;</td>
                <td><?php echo h($waiversRelease['WaiversRelease']['medication_explaination']); ?>&nbsp;</td>
                <td><?php echo h($waiversRelease['WaiversRelease']['digital_signature']); ?>&nbsp;</td>
                <td><?php echo h($waiversRelease['WaiversRelease']['digital_date_stamp']); ?>&nbsp;</td>
                <td class="actions">
                    <?php echo $this->Html->link(__('View'), array('action' => 'view', $waiversRelease['WaiversRelease']['id'])); ?>
                    <?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $waiversRelease['WaiversRelease']['id'])); ?>
                    <?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $waiversRelease['WaiversRelease']['id']), array(), __('Are you sure you want to delete # %s?', $waiversRelease['WaiversRelease']['id'])); ?>
                </td>
            </tr>
        <?php endforeach; ?>
    </table>
    <p>
        <?php
        echo $this->Paginator->counter(array(
            'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
        ));
        ?>	</p>
    <div class="paging">
        <?php
        echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
        echo $this->Paginator->numbers(array('separator' => ''));
        echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
        ?>
    </div>
</div>
<div class="actions">
    <h3><?php echo __('Actions'); ?></h3>
    <ul>
        <li><?php echo $this->Html->link(__('New Waivers Release'), array('action' => 'add')); ?></li>
        <li><?php echo $this->Html->link(__('List Users'), array('controller' => 'users', 'action' => 'index')); ?> </li>
        <li><?php echo $this->Html->link(__('New User'), array('controller' => 'users', 'action' => 'add')); ?> </li>
        <li><?php echo $this->Html->link(__('List States'), array('controller' => 'states', 'action' => 'index')); ?> </li>
        <li><?php echo $this->Html->link(__('New State'), array('controller' => 'states', 'action' => 'add')); ?> </li>
    </ul>
</div>
